package ${packageName}.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
*	${remark}
*/
@SuppressWarnings("serial")
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("${tableName}")
public class ${className} extends Model<${className}> {
	
	
<#if columnList??>
	<#list columnList as column>
	<#if column.primary>
	/** ${column.remark} */
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private ${column.type} ${column.propertyName?uncap_first};
	<#else>
	
    /** ${column.remark} */
	@TableField("${column.columnName}")
	private ${column.type} ${column.propertyName?uncap_first};
	</#if>
	</#list>
</#if>

}
